<template>
<div>
  <button @click="resolve1">resolve1</button>
  <button @click="resolve2">resolve2</button>
  <button @click="reject">reject</button>
  <rx-select :list="list"/>
</div>
</template>
<script>
export default {
  data(){
    return {
      list:[]
    }
  },
  methods:{
    resolve1(){
      this.$emit('resolve',1)
    },
    resolve2(){
      this.$emit('resolve',2)
    },
    reject(){
      this.$emit('reject')
    }
  },
  created(){
    console.log(123213)
  }
}
</script>

